package com.study.dao;

import com.study.entity.social_security.Archive;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * @Author wfw
 * @Date 2020/07/31 14:32
 */
public interface ArchiveDao extends JpaRepository<Archive,String>, JpaSpecificationExecutor<Archive> {

    Archive findByCompanyIdAndYearsMonth(String companyId, String yearMonth);

    List<Archive> findByCompanyIdAndYearsMonthLike(String companyId, String s);

}
